package com.lanan.springboot.hook;

import org.aspectj.lang.annotation.Pointcut;

/**
 * @desc TopicServiceHook
 * @author lanan
 * @date 2022-04-30 21:55:47
 **/
public class TopicServiceHook {

    @Pointcut("execution(public * com.lanan.springboot.service.ITopicService.search(..))")
    public void search() {
    }

    @Pointcut("execution(public * com.lanan.springboot.service.ITopicService.selectById(..))")
    public void selectById() {
    }

    @Pointcut("execution(public * com.lanan.springboot.service.ITopicService.update(..))")
    public void update() {
    }

    @Pointcut("execution(public * com.lanan.springboot.service.ITopicService.vote(..))")
    public void vote() {
    }

    @Pointcut("execution(public * com.lanan.springboot.service.ITopicService.updateViewCount(..))")
    public void updateViewCount() {
    }

}
